package com.briup.gsauestore.dao;

import com.briup.gsauestore.bean.Banner;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author adam
 * @date 2023/5/25
 */
@Repository
public interface IBannerDao extends JpaRepository<Banner,Integer> {
    List<Banner> findByActive(boolean active);
}
